package com.changgou.seckill.web.service;

import org.springframework.http.server.reactive.ServerHttpRequest;

public interface AuthService {
    /**
     * 查看cookie中jti是否存在
     * @param request
     * @return
     */
    public String getJtiFromCookie(ServerHttpRequest request) ;
    /**
     * 查看redis中的token是否过期或者存在
     * @param jti
     * @return
     */
    String getTokenFromRedis(String jti);
}
